package com.aaa.sas.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;

@Configuration
public class MyConfig {
    public MyConfig() {
    }

    @ModelAttribute
    public void globalParameter(Model model) {
        model.addAttribute("ipadress", "192.168.1.55");
    }
}

